Transforming WAN for Safety and Efficiency