Parse raw HTTP headers that are stored in a single string buffer