Lawouach/WebSocket-for-Python — pull request #147 by szweep (2014-09-24 01:33:04+00:00)
Title: pass ssl_options to SSLIOStream() to ensure certificate validation works

The Tornado client's __init__ function uses an SSLIOStream object for SSL communications when using a wss: scheme. The __init__ function for that object will use the optional ssl_options parameter to set parameters used for certificate verification. This change passes the ssl_options (already present in TornadoWebSocketClient.__init__()) to the SSLIOStream object.