Add hook signal for every message sended.

feel free to sugest improvement.