Pulling curnit from config file, checking for curnit in config file, and retrieving XMPP domain correctly