I don't think anything actually uses this code and it's broken for any non-localhost AMQP server. I'll open a separate ticket for getting rid of it entirely.