':param ssl_connection: The established openssl connection
:param sock: The underlying tcp/ip connection'

def __init__(self, ssl_connection, sock):

    self.ssl_conn = ssl_connection
    self.sock = sock
    self.close_refcount = 1
    self.closed = False
