Added http_headers typedef, headers_from_str and trim utilities. Also made a test for http_headers.