Basic Chatting and File Sharing application in Java