Command line IM service, consisting of both a server and client in Java