Fix ordering for rabbitmq < 3.2.0
URI can be an array