'Pass any un-handled function calls on to connection'

def __getattr__(self, name):

    try:
        return getattr(self.ssl_conn, name)
    except AttributeError:
        return getattr(self.sock, name)
