ssl_client.c and ssl_server.c came from http://www.linuxsocket.org/books/Sockets/programs/