Simple TLS Client

From OpenSSLWiki

You may find an up to date example within repository demos/sslecho together with server ( Simple TLS Server )

See SSL/TLS Client