tls: disallow conflicting TLS protocol options
Do not allow the minimum protocol level to be set higher than the max protocol level.
See: https://github.com/nodejs/node/pull/26951, 109c0977
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines