config: add GetOrigin function This implements the same behavior as Python's srht.config.get_origin.
Simplify server module