celluloid/celluloid-io — pull request #40 by codekitchen (2013-01-25 03:24:37+00:00)
Title: add ssl accept support

Adds an #accept method to SSLSocket, upgrading the already-accepted TCP
socket to an SSL connection. This is the same API as OpenSSL::SSL::SSLSocket

Also adds a convenience Celluloid::IO::SSLServer class, with the same
API as the OpenSSL::SSL::SSLServer class, which wraps a TCPServer and
automatically upgrades accepted sockets to SSL before returning them.