Added basic infrastructure to implement load shedding for message loops.