Defines classes for sending simple messages over sockets.