Made auto-disabling of TLS mode optional and non-default.