Publish persistent messages for QoS 1.
Merge bug25982