move IsWebSocketUpgrade to new WebSocketUtils class