Creates a new DtlsServerConnection wrapping base_socket
.
base_socket |
the DatagramBased to wrap |
certificate |
the default server certificate, or null |
the new DtlsServerConnection, or null on error |