sferik/twitter — pull request #546 by neektza (2014-03-23 23:26:37+00:00)
Title: Enable injection of custom TCP/SSL socket classes.

Twitter::Streaming::Client class now accepts custom TCP/SSL socket
classes. It passes those along to Twitter::Streaming::Connection.

It's possible to inject custom sockets this way, which in turn
makes it easy to use Twitter::Streaming funcitonality with
Celluloid::IO.

Celluloid's Socket classes support both blocking and non-blocking
operations.

https://github.com/celluloid/celluloid-io/wiki/Using-Celluloid::IO-with-existing-Ruby-libraries