Implement checking for TLS connections