single websocket connection, bugfixes