Socket functionality for WindowsPoller

Current state of the Windows port: all tests in common/ pass
It's best off doing this here rather than in a check is it?