Default to https if not in debug mode