Revised version of Java server for the android chat application, still in progress