sesman: more options for session lookup from Fredy Paquet