Fixed bug in Url when the hostname was an IP address instead of a domain name.