Added documentation of clientServerThread