First commit in SocketThread