http2: add missing error handlers
Attach simple error handlers in http2/core.js on sockets where they seem to be missing to avoid the process from crashing.
Fixes: https://github.com/nodejs/node/issues/19978
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
cc @mafintosh @nodejs/http2