Fixed an issue with port being added to Host.

When using the http module to make a request to a url without a port,
port 80 or 443 would always be added to the Host. This doesn't play nice
with some server setups. Changed this, so that if no port is specified,
none is added to the host.