basic websocket connection