Creates a new #GDtlsClientConnection wrapping base_socket which is assumed to communicate with the server identified by server_identity.
the #GDatagramBased to wrap
the expected identity of the server
the new #GDtlsClientConnection, or null on error
Creates a new #GDtlsClientConnection wrapping base_socket which is assumed to communicate with the server identified by server_identity.