merge syscall_listen_{pre,post} into a single handler doing both