hardening network interactions