@Test
public void shouldParseUrlFromHost() {

    Headers customHeaders = new Headers();
    customHeaders.setHeader(Headers.HEADER_HOST, "example.com:3366");
    httpServletRequestImpl = builder.withHeaders(customHeaders).build();
    assertThat(httpServletRequestImpl.getRequestURL().toString(), is("http://example.com:8080/someuri"));
}