Fixing agent app download failure in iOS 7.1

Fixing agent app download failure in iOS 7.1. iOS 7.1 requires you to download the apps in https mode.