Websocket patches