Utility module
Some useful gevent functions.
Connect and retry based on Twisted’s ReconnectingClientFactory
Wraps gevent.socket.create_connection with a loop for max_retries (if given) using delay and max_delay (and several magic constants) to do a linear backoff with builtin jitter to avoid stampede.