Improved websocket debugging.