Socket functionality for WindowsPoller

Current state of the Windows port: all tests in common/ pass
Yes, this generates a compile time failure rather than a run time failure.