Utility classes used by both the server and the client of SimpleChat