(v7.x backport) src,test: --without ssl fixes
These three commit are backports required to allow the build and test to be run when configured with --without-ssl
.
I thought it made sense to include them all in one pull request, but let me know if it is preferred to have each one in a separate PR and I'll just point out where there is a dependency (should only be https://github.com/danbev/node/commit/fe17e9bc157827e9530e4496182962580c3555c3 which is required to be landed first as the will be a link error otherwise)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
src, test