WebSocket client in C