tls: allow client-side sockets to be half-opened
Make tls.connect()
support an allowHalfOpen
option which specifies
whether or not to allow the connection to be half-opened when the
socket
option is not specified.
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