lib: merge onread handlers for http2 streams & net.Socket
This is a rebased & modified version of @aks-’s https://github.com/nodejs/node/pull/20993, with tests passing locally
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines