Update proxy.py

* Add backward compatibility of gevent 0.x
* Warns about the old gevent version if possible.