Added import socket to fix gevent crashing on Windows.