Move settings logic to settings.py, add setting to omit SSL cert checking