Efficiently Adding Secure Communications to Networked Low-End Embedded Systems Using Software Thread Integration