Updated for RabbitMQ 3.0.1 and Erlang 15.3.1