Change validatesCertificateChain to readonly instead of SSLPinningMode