The whistle-blower's revelations of the extent of NSA spying gave Beijing a stronger hand in negotiations on the issue of cybersecurity