Update for compiling against RabbitMQ 3.1.x

I don't know if this project is still maintained. If not, please disregard this request.

Otherwise, I updated the files to make rabbitmq-xmpp work with the latest RabbitMQ.