An Attack-Resilient Architecture for the Internet of Things | Synapse