socket: whitelist `connect_error` and `connect_timeout` (fixes #534)
Merge branch 'master' of github.com:automattic/socket.io-client