@Test
public void testHttp1_1() throws Exception {
System.out.println("testHttp1_1");
HttpServer server = new HttpServer(new RequestHandler());
server.start();
IBlockingConnection con = new BlockingConnection("localhost", server.getLocalPort());
con.write("GET /test HTTP/1.1\r\n");
con.write("Host: localhost:" + server.getLocalPort() + "\r\n");
con.write("User-Agent:me\r\n");