Use WebSocket client to connect to MQTT server