'Accept incoming connection and set up SSL on it
:return: A (conn,addr) pair where conn is a Connection and addr is an
address'

def accept(self):

    (client, addr) = self._socket.accept()
    conn = Connection(self._context, client)
    conn.set_accept_state()
    return (conn, addr)
