Respect XMPP client connecting state

No more notification spam when connecting, animation is working and
stuff like that, pretty awesome. (issue #21)