Fixed tasyncawait on Windows.

Implicit registration of an fd now only occurs when a new socket is
created (in socket() or accept()). This makes the implementation much
simpler, changes to the linux version will follow.
Fix compilation on linux.