Improve handling of exceptions on setting up XMPP connections:
- Catch all types of exceptions.
- Restart exmpp_component on exceptions (to avoid faulty states).
- Include handshake and auth in one operation in the try clause.