Socket functionality for WindowsPoller

Current state of the Windows port: all tests in common/ pass
I really must sort out a --disable-all-plugins option for you that you can override...