enable TLS encryption if wanted