now, session and listener are inherited from ASocket.