Cperello/trafficshaping improvements

Implements priorization of control packages (#6445)