patch for http_version overwrite