Representation of the client/user state.
Session parameters provided by client upon initialization.
Representation of the connection to the remote server.
Entrypoint for this module; it sets up the
Messages the client needs to format/display to the user.
First field is always the packet type (