Websocket extract to server