The message factory takes care of building messages from all end points.
Since both message and packet protocols are used, the factory hands out contexts to all end points. The context keeps a state to be able to parse partial messages properly.
Each end point need to hand the context back to the message factory when the client disconnects (or a message have been parsed).