celery/kombu — pull request #373 by rogerhu (2014-06-24 08:28:10+00:00)
Title: Add support for RabbitMQ extensions for librabbitmq.

Requires PR https://github.com/celery/librabbitmq/pull/49 to enable extension support.

It can be tested by the following:
```
from kombu import Connection

conn = Connection(host="host", userid="user",
password="password", virtual_host="vhost",
client_properties={'capabilities': {'authentication_failure_close': True}})

conn.connect()
```

Normally an error message of "_librabbitmq.ConnectionError: Couldn't log in: a socket error occurred" is given. If this capability is enabled, an error message of "_librabbitmq.ConnectionError: Couldn't log in: unexpected method received" is received (this part should be improved).