Rework plugins for use with rabbitmq 3.x