My application using hiredis is able to successfully call redisInitiateSSLWithContext when connected to the TLS enabled port. However, a call to redisInitiateSSLWithContext hangs when connected by way of the non-TLS port. Is that a bug? Is there a way I can programmatically avoid this? For example, before making the call to redisInitiateSSLWithContext, is there something I can check to make sure the port to which I connected is TLS Enabled?