session: add api cb for listen and unlisten