Handle host error better in AMQP connect loop.
Add missing commas.
Merge pull request #24 from gauthierm/improve-amqp-host-error

Handle host error better in AMQP connect loop.