make XMPP debug configurable