Add loops to handle retry when excpetion is raised for SSL_WANT_READ and SSL_WANT_WRITE.
More error code handling
Merge branch 'master' of https://github.com/pika/pika into ssl_bigsend
Fixed SimpleReconnectionStrategy not being invoked.
Reconnection is disabled automatically only on clean shutdown by user.
Infinite connection attempts is almost fixed properly.
Clean shutdown is now skipped if heartbeat monitor skips a frame.
Old callbacks are now cleared for Connections and Channels at disconnect.
Select_connection now unregisters closed sockets and correctly ignores errors.
Fix file permissions in commit and changes in example code.
Tornado callback interval was .25ms.  Changing to (desired) 25ms, and adding option to set your own interval
Merge pull request #78 from rckclmbr/master

Tornado callback interval was set to occur too frequently, causing 100% CPU utilization
Do not use unicode objects in the tests, use UTF-8 encoded strings.

The whole purpose of the test is to check if Pika handles UTF-8
encoded blobs. Passing Python unicode objects to Pika's methods causes
failres, as they get converted to strings using the default ascii
encoder.
Initial support for using Pika with a Twisted reactor.

Provides a Deferred-based interface for channel methods and includes
both a Pika connection adapter estabilishing and a Twisted protocol
that uses Pika for parsing and marshalling the frames.

Not all channel methods have been tested, but the test program
exercises some of the more common ones.
Fail in TwistedChannel's basic_publish if the channel is closed.

Otherwise channel errors might go unnotified by a client that only
does basic_publish.
Rename the connected Deferred in TwistedProtocolConnection to ready.

It reflects its purpose better and lowers the chance of a name
clash. Add code that errbacks it if the connection is lost before the
ready state is reached. Among other things, SSL negotiation errors
will cause this.
Merge pull request #81 from wulczer/twisted

Twisted adapter for Pika
Merge pull request #80 from wulczer/fix-unicode-test

fix the Unicode test
Send Close-Ok after receiving a channel Close from the server.

The spec says that the response to receiving Close must be to send
Close-Ok. When a channel was being closed due to an exception, Pika
was not sending Close-Ok back, which made it impossible to reopen that
channel (see issue #84).

Additionally, if the channel is already going away, the Close-Ok
callback that the connection adds should be removed. Not doing that
results in a warning about a duplicate callback being added.
Set a ioloop instance variable in TwistedProtocolConnection.

Even though it's not used directly to manage the connection state, its
presence is necessary for heartbeating to work. While at it, lose the
TCP connection in when asked to disconnect, which is what missing too
many heartbeats does. Fixes #83.
Capabilities should be sent to the server under the key "capabilities", not "client-properties".

See http://www.rabbitmq.com/extensions.html#capabilities for more details.
Merge pull request #90 from nkvoll/client-capabilities-fix

Capabilities should be sent to the server under the key "capabilities", not "client-properites"
Merge pull request #89 from wulczer/fix-twisted-heartbeat

Set a ioloop instance variable in TwistedProtocolConnection.
Merge pull request #82 from kherrala/master

Fixes for SSL big send and reconnection after remote close in SelectConnection
Merge pull request #87 from wulczer/send-close-ok-after-forced-close

Send Close-Ok after receiving a channel Close from the server.