Switches to using addressable/uri so it can handle underscores in subdomains

Using addressable - https://github.com/sporkmonger/addressable it handles underscores better than standard uri. Currently with an underscore in the subdomain it returns "URI::InvalidURIError: the scheme http does not accept registry part: sub_domain.domain.com (or bad hostname?)"