Cyber warfare is a central concern for Washington in its dealings with China but this week has seen concerns mounting about America’s own cyber-snooping.