Capability to enable/disable TLS, to set socket listen address.
Fix invalid listen address.