Added ClientThread, implemented client handling with sockets and threads.