http: fix socketOnWrap edge cases
Properly handle prependListener
wrapping on http server socket, in addition to on
and addListener
. (A commit was made that was supposed to fix this last month but hadn't actually done so.)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines