Fix for gevent crash on Windows.

import socket is needed for windows.