Socket functionality for WindowsPoller

Current state of the Windows port: all tests in common/ pass
Will this, and the line below not fit so they're aligned to memmove(?