allow for automatic tls upgrades and authentication