added check for ssl _create_unverified_context when talking to API