Review and changes from Jocelyn Fiat

it is better to parse once for all header values, rather than parsing again from start for each header key.
In addition, the `header_values' is already taken into account quotes
so this simplify the code.