@Test
void willUseHostHeaderprovided_IfNotIPv4() throws UnknownHostException {

    headers.add("Host","homestarrunner.com");
    request = new HttpGet(URI.create("http://127.0.0.1"));
    HttpHost host = client.determineTarget(request, headers);
    assertEquals("homestarrunner.com", host.getHostName());
    assertEquals(InetAddress.getByName("127.0.0.1"), host.getAddress());
}