Java simple chat.