Added support to sound notifications

This introduces sound notification when a new message arrives.
It is disabled by default and can be enabled typing "set alert 1".