iOS library to ensure connections to a host use an expected X509 certificate or public key