Improving network resilience with Middlebox Minions