v8: backport b3775cf3 from upstream
http: cork when in not-so-hot mode