assertEquals("GET", r.getMethod());
assertEquals("/foo/bar/baz", r.getUri());
assertEquals("Myself", getFirstHeader(r, "User-Agent"));
assertTrue(buf.hasRemaining());
parser.reset();
r = parser.parse(buf);
assertFalse(r.isError());
assertTrue(r.isComplete());
assertTrue(r.isHeadersComplete());
assertTrue(r.hasHeaders());