FIX no libcurl-->no WSAStartup

Code assumed WSAStartup to have been called - this is not the case as
libcurl is optional.