Check if packet is type 'publish'. Also, remove from the outgoing queue only when the client is not clean
Check if packet is type 'publish'. Also, remove from the outgoing queue only when the client is not clean

debjeet-sarkar/aedes,mcollina/aedes,mcollina/aedes