Added first phase of testing a websocket connection