fix tests

properly remove listeners from websocket on sockjs tests
have websocket tests use websocket package instead of ws (like sockjs)