A simple Chat server in java