Fix __parse_transfer_encoding() to return correct offset of the next header.

This is another case of being off by one. The offset returned by
the function was pointing at the last character of the current header.