No side effect for persistence#lookupSubscriptions.
Added persistence#deletePacket
Completed refactoring of QoS 1 to achieve better reliability.
Completed QoS 1 refactoring.