Minor refactoring, moved make_listen_sock function from supervisor.py to server.py