Multithreaded Client-Server Java Program