Performance improvement and benchmark

n/t

cc @bnoordhuis
I'm not sure I follow.  With `"Foo: bar\nBar: baz\r\n"` as input, this code would skip to the `'\r'` character and miss the Baz header altogether, right?