Multi threaded chat client in Java