Simplification of res_jabber code (done at Inria, Paris with Philippe)