fix: properly report timeout error when connecting
In some specific cases (Node.js client with WebSocket only), the reason attached to the "connect_error" event was "websocket error" instead of "timeout". Related: https://github.com/socketio/socket.io/issues/4062
D
Damien Arrachequesne committed
5bc94b56bc1788bab16d9d514d2c8abf3b1d8f87
Parent: 781d753