Added ssl check to API calls