Java Client<->Server connection using the KryoNet library.