Replaced socks with winSock

Replaced Sock with winSock
- std::mutex and std::thread may not be supportable in windows. C++11
code. Further research required.