Plug websocket in the client