Fixing xhr-polling/jsonp-polling transports.