Ensure HTTP requests to WebSocket endpoint URLs are valid WebSocket requests