Building Secure Runtime Programmable Networked Systems