Bug 892708 - Add a pluggable decision module to determine if a message can be safely sent before notifying the frontend. r=fabrice, r=gene.lian