6ecf37c482
Parsing a URL with `URI` is not sufficient as the following cases
are considered valid:
URI.parse("http://https://google.com")
=> #<URI::HTTP http://https//google.com>