wandenberg/nginx-push-stream-module — pull request #170 by arusakov (2014-12-29 13:49:19+00:00)
Title: pushstream.js Utils.isCrossDomainUrl bugfix for IE

Hi, wandenberg

Current code for parsing url:
```javascript
var parser = document.createElement('a');
parser.href = url;
```

If url does not contains port, for expamle "**http://test.com**", IE behaves differently then other.

Browser | location.port | parser.port
---------- | ---------------- | --------------
Chrome 39 | '' | ''
Firefox 34 | '' | ''
Opera 12.16 | '' | ''
IE9 | '' | '80'
IE 11 | '' | '80'

normalizePort() fix that for http and https protocols.