Added support for 64 bits Windows sockets. In Windows, a 64 socket handl...

...e is a 64 bits value. It had to adjust a few places to use size_t rather than int as it was before