80% of the wrapper around the websocket is working