Socket functionality for WindowsPoller

Current state of the Windows port: all tests in common/ pass
Can you use EXIT_UNAVAILABLE here and in the other example programs.