http request fixes
Fixes: https://github.com/nodejs/node/issues/20102 Fixes: https://github.com/nodejs/node/issues/20101 Fixes: https://github.com/nodejs/node/issues/17352
- Response should always emit close.
- Response should always emit aborted if aborted.
- Response should always emit close after request has emitted close, never before.
Checklist
-
make -j4 test (UNIX), or vcbuild test (Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines