Replaced usage of size_t for SOCKET. SOCKET in Windows is the standard s...

...ocket type as defined in Winsock2 while on x systems is a regular int.

Defined INVALID_SOCKET as -1 for x systems, while in Windows is the standard defined value for error when trying to create a socket