Control-Theoretic Methods For The Robustness Of Network Systems: Application To Traffic Control And Cyber-Physical Security