windows: remember writes before connect and issue writes after connect

This makes it behave it like the linux code.

Currently this is not working, I get an segmentation error on windows when I try to remove something from the queue.

@saghul can you take a look on this, maybe i'm missing something obvious?

For some reason this gives me a segmentation error: https://github.com/txdv/libuv/compare/write_queue?expand=1#diff-dc490d8a5a8a41100ae824b52c0e496fR240

Also the returned pointer from QUEUE_DATA is absolute bullshit.
You need to pass handle here, not handle->write_queue.