Fix HTTP chunked encoding.

The TEXT parser should not wait for a next line if the current one is
empty.