Option to enable xmpp logging. Cleaning some output messages.
Handle event auth_failed and disconnecting