Congress should protect makers of devices and messaging apps from lawsuits when their products are infected with spyware, a think tank says, with the goal of improved threat hunting and information sharing.