Patch for http-fetch.c and older curl releases