Add config options for clustering and proxies. Enhance encryption config.