http.c::http_fetch_ref(): use the new http API