Add gevent 1.0 support.