ASACORE-1025 Allow cleanup of Winsock API

We'd like to be able to cleanly unload AJ code from Windows (service)
process. Currently the utility function WinsockCheck is calling WSAStartup,
but there is no place that calls WSACleanup.

This change moves WinsockCheck into utility.cc as well as adds ability
to clean up Winsock API via a new function called WinsockCleanup.

Change-Id: I38b27690d34080b05a47ed6d9d50014d8ba692b1
Signed-off-by: Way Vadhanasin <wayvad@microsoft.com>
Merge "ASACORE-1025 Allow cleanup of Winsock API"
fix for spaces in directory name

Change-Id: If86f269bcb23f78af1a8f5ba3016badd3ff22091
(cherry picked from commit a2edfd36ffb8ccaf1b91eace80a12d391b377245)
Signed-off-by: Meggan Ehret <meggan@qeo.org>