This is code you will have already reviewed, I simply moved it into an internal function since I now need to parse header lines in both the initial response and possibly at the end of a chunked transfer encoding.