Refactor Windows code to decouple Pollers/Transports from IOContexts.