Handle retrieving resources of the next API version via curl when using https.