Java Web Socket Chat Server and Client (academic assignment)