configure: don't enable tls protocols if network is disabled