Socket functionality for WindowsPoller

Current state of the Windows port: all tests in common/ pass
Having no name servers doesn't mean you failed to fetch them, there may just be none configured. Also you can drop this return as it's covered at line 365.