http: in writeHeader, set header key to lower case