Protocol state machine for MQTT connection. All APIs are implemented as synchronous member functions. State machine events are implemented as pure virtual functions. rv_connection Inherits connection.