Organize http server and websocket listen