Small windows chat client using TCP sockets(winsock) and threads