Set read_next_frame to call the appropriate IO read-like method on the socket object. Eg, read for OpenSSL::SSL::Socket vs read_fully.
Set the version to 0.9.0pre8
Adding a simple, crappy, inauthentic TLS example