http: free hdr->key and hdr->value

Fixes memleak

Change-Id: Ia384389a5ea45e5098102aa3c0e1d26329e635c3