added: WebSocket supports global middleware