Simple chat client/server written in Java