import socket on windows

Should fix #459. See https://github.com/gevent/gevent/issues/459#issuecomment-49506870

Thanks to @snaury.

This reverts commit 12e4fb18cc731ee0dbbf0ebac8a20b4070268ea5.