Clean up a bunch of legacy code in the Poll socketengine.

This removes some legacy code which should no longer be needed to use poll. It also removes Windows support as we don't use it and it is probably broken anyway.

I have confirmed that this works on OS X (and therefore FreeBSD) and Linux. It should also work on other Unices.