[http] Remove magic assignment in headers.

Adds constructor for set value