Server: User: Password: ClientId: Clean session: TCP WS Use TLS Topic: Payload: Text Base64 Retain: QoS: 0 (At most once) 1 (At least once) 2 (Exactly once) Topic: QoS: 0 (At most once) 1 (At least once) 2 (Exactly once) Received messages: Add received messages to list Port: Persist retained messages in JSON format Clear previously retained messages on startup