A Verifying Compiler For Embedded Networked Systems