Securing the energy revolution and IoT future