Added the xmpp session initialization (needed for ejabberd)