con = new BlockingConnection("localhost", server.getLocalPort());
con.write("GET /tztz HTTP/1.1\r\n" +
"Host: localhost:" + server.getLocalPort() + "\r\n" +
"User-Agent: me\r\n\r\n");
String header = con.readStringByDelimiter("\r\n\r\n");
Assert.assertTrue(header.indexOf("404") != -1);
Assert.assertTrue(h1.isForwardedRef.get());
Assert.assertTrue(h2.isForwardedRef.get());
con.close();