Fix Winsock errno code overlap

Some Winsock errno:s conflict with the standard ones. Try to
restrict the redefines to things relevant for sockets.
3 files changed