This doesn't apply to the WebSocket API provided by XWiki Standard because it relies on the WebSocket implementation provided by the servlet container running XWIki (we're not using a separate server such as Netty).