Client side of the simple chat project.