Don't use EV_CLEAR when registering interrupter.

Fixes copy/paste error introduced in 660e9fe30204e0ada0d1fd40c48015810d2647dc.
Fix shadow variable warning.
Avoid using newly-deprecated Winsock functions.
Revision history.