added some extra checks for URLs in swift.conf