The libtls API ported to OpenSSL.