http: fix IPv6 Host header check
CI: https://ci.nodejs.org/job/node-test-pull-request/8203/
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
- http