Merge pull request #25 from chemhack/master

Fix a bug when accessing URLS with non-standard ports
the port is specified in url according to RFC, host header do not include port number