IoT Chain: A High-Security Lite IoT OS