support self-signed certs for iOS