Socket functionality for WindowsPoller

Current state of the Windows port: all tests in common/ pass
Ah I missed that. Can you add a comment then.