[xmpp] add options to load lifecycle dirs
[xmpp] Fix tag generation