Socket functionality for WindowsPoller

Current state of the Windows port: all tests in common/ pass
you need to move this into the Makefile.mk . We removed Makefile.am