Socket functionality for WindowsPoller

Current state of the Windows port: all tests in common/ pass
Indent to match Result(, or indent 4 from where it currently is.