Use gevent.socket instead of socket.