@Test
public void testRewite03() throws Exception {

    URI uri = URI.create("http://thishost//stuff///morestuff");
    Assert.assertEquals("/stuff///morestuff", URIUtils.rewriteURI(uri, null).toString());
}