facebook/tornado — pull request #750 by mayfield (2013-04-20 02:40:15+00:00)
Title: Handle port scan on SSL server gracefully.

Port scans and other quickly closing connections will
result in an unwrapped/disconnected socket. Tornado
needs to check the ssl socket's _connected attribute
prior to attempting a ssl handshake in this case.

This patch makes the SSL server behave similarly to its'
non-ssl counterpart.