Remove Windows version check
Include <functional> for std::bind2nd
Replace gethostbyname with getaddrinfo
Upgrade project and library files to MSVC 2013