Parse in a loop until the buffer is exhausted.

From https://github.com/stephen/httplike/pull/7, rewritten as smaller commits.

This PR addresses a theoretical stall, where a [pipelined](http://en.wikipedia.org/wiki/HTTP_pipelining) message could stay unparsed in the buffer and never be emitted. (Not yet seen in practice.)