Socket functionality for WindowsPoller

Current state of the Windows port: all tests in common/ pass
Up to @nomis52 but I'd say we should run the test, and just have an ifdef on the ASSERT at the end, to ensure the Windows IF picker doesn't crash if you ask for loopbacks. As other code may not have the Windows ifdefs in place.