Some updates to the WebSockets logic.