change return values for tls_enabled?
Merge pull request #219 from MuhanZou/fix_tls_enabled_function

change return values for tls_enabled?