Parsing xmpp configuration from config file, connecting at startup