A Botan TLS socket wrapper.
For a quick overview of the code, see my blog Botan TLS Socket Wrapper
If you have tup
you can just do:
tup init
tup
If not then just run:
./build.sh
This creates two executable: server
and client
. Run the server in one terminal and the client in another and once the client has connected everything you type will be echoed back. Easy!