Migrate to SSL API calls.