toytls Fun with the TLS handshake See the article at http://blog.bjrn.se The code depends on m2crypto.