Add more debugging output in WebsocketHandler