THRIFT-2610 MSVC warning in TSocket.cpp

Patch: Konrad Grochowski