Fix Error during WebSocket handshake: 'Upgrade' header is missing