fix http_headers_remove_header() and double free