Network Security in the IoT Era: Safeguarding the Future