Allow to:
1) Indicate in the connection configuration if a reconnection should be attempted when connection is abruptly closed
2) Keep the listeners of the xmppconnection when reconnecting
3) Allow to manually close the connection and be able to connect again (listeners will be removed)
4) Reconnection logic will keep trying to connect forever. Different delays will be used as new attempts to connect keep failing.
5) Users should be able to cancel the reconnection process