A Security Architecture for Reconfigurable Networked Embedded Systems