Features/simplified connections

This patch enables faster reconnections and decouples XMPP presence message from connection request. Connection request logic is now pushed to the controller.