Change AsyncSSLSocket getSecurityProtocol to handle unencrypted mode