Initial revision, websocket connection is established