[fix] fix JSONP transport in Node.js environment
[fix] fix JSONP transport in Node.js environment

The commit 99bcc62 resulted in `window is not defined` errors.

socketio/engine.io-client,socketio/engine.io-client,Automattic/engine.io-client,socketio/engine.io-client