Fix for BrowserSim (Safari) due to check in WebSocketFactory (org.eclipse.jetty.websocket.WebSocketFactory)