Creates a new TlsServerConnection wrapping base_io_stream
(
which must have pollable input and output streams).
See the documentation for base_io_stream for restrictions on when
application code can run operations on the base_io_stream
after this function has returned.
base_io_stream |
the IOStream to wrap |
certificate |
the default server certificate, or null |
the new TlsServerConnection, or null on error |