"Host: loca\000lhost\r\n" +
"User-Agent: whatever\r\n" +
"Coo\000kie: c1=stuff\r\n" +
"\000\r\n";
SessionInputBuffer inbuffer = new SessionInputBufferMockup(
new TimeoutByteArrayInputStream(s.getBytes("US-ASCII")), 16);
HttpRequestParser parser = new HttpRequestParser(
inbuffer,
BasicLineParser.DEFAULT,
new DefaultHttpRequestFactory(),