http2: check for valid headers
checks validity for request, writeHead, and setHeader methods
refs: https://github.com/nodejs/node/issues/29829 (5th sub-issue)
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