websocket

Connect to the websocket and register a callback to receive changes. Returns a lifecycle wrapper.