#720 fix for those issue

Hello,

I think it's a fix for issue #720 (if I fully understood description of those task).

Test cases for testing method "parseUrl" from this fix:
test input data:
```
geturl('https://ebay.com/test.txt'),
geturl('https://ebay.com:2000/test.txt'),
geturl('http://ebay.com:8080/test.txt'),
geturl('file://ebay.com/test.txt')
```
output data (used var_dump):
```
array(4) {
  'scheme' =>
  string(5) "https"
  'host' =>
  string(14) "ssl://ebay.com"
  'path' =>
  string(9) "/test.txt"
  'port' =>
  int(443)
}
array(4) {
  'scheme' =>
  string(5) "https"
  'host' =>
  string(14) "ssl://ebay.com"
  'port' =>
  int(2000)
  'path' =>
  string(9) "/test.txt"
}
array(4) {
  'scheme' =>
  string(4) "http"
  'host' =>
  string(8) "ebay.com"
  'port' =>
  int(8080)
  'path' =>
  string(9) "/test.txt"
}
array(3) {
  'scheme' =>
  string(4) "file"
  'host' =>
  string(8) "ebay.com"
  'path' =>
  string(9) "/test.txt"
}
```

Thanks, Anton