Swapped out plain websocket for websocket connection object