A basic chat client and server written in Java