Separate WebsocketServer from Loader.