Added check to use useSSLPinning property