Merge pull request #299 from libevent/revert-297-master Revert "The Windows socket type is defined as SOCKET."