def _shutdown_transport(self):
if self.sock is not None:<EOL><INDENT>try:<EOL><INDENT>unwrap = self.sock.unwrap<EOL><DEDENT>except AttributeError:<EOL><INDENT>return<EOL><DEDENT>self.sock = unwrap()<EOL><DEDENT>
Unwrap a Python 2.6 SSL socket, so we can call shutdown()