Winsock 2 init and shutdown

The base project starts up winsock 2 and then shuts it down. The project
is compatible with visual studio and mingw