Adding SSL toggle to all API calls.