title: URI.getHost() returns null
body: <p>This prints <code>null</code>:</p>
  <pre><code>System.out.println(new URI(&quot;http://a.1a/&quot;).getHost());
  </code></pre>
  <p>But this prints <code>a.1a</code>:</p>
  <pre><code>System.out.println(new URL(&quot;http://a.1a/&quot;).getHost());
  </code></pre>
  <p>If all URLs are URIs (but not all URIs are URLs) shouldn't a valid URL that has a host component also have the same host component (instead of null) as a URI?</p>