A Control Theoretic Approach For Resilient Network Services