A Comprehensive Study of Security and Privacy Guidelines, Threats, and Countermeasures: An IoT Perspective | Synapse