Revert "curl throws errors, hope including winsock2.h fixes that"

This reverts commit 711caf3041e6b08efda5ad5481381228c96b3127.

lead to other errors