lib: update validators with allowUndefined option
Extracted from the QUIC PR. Add allowUndefined as an option for multiple validators.
Signed-off-by: James M Snell jasnell@gmail.com
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines