Security Metrics at Work on the Things in IoT Systems