The only problem i see with this is that it would generate:

```
github.com:80
```

instead of

```
github.com
```

As host as default port numbers should be omitted in host's