Added WebSocket detection based on userAgent.