Security and Privacy in the age of IoT