http: make sure end is always emitted with keepalive connections
Unfortunately 779a05d5 introduced a regression in 12.8.0, making the autocannon test failing on Node 12. This PR reverts 779a05d5 and adds a test to ensure that we do not regress again.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines