Get the server reference needed for the Websocket from the first request