This patch adds checks for the sound channel and plugins: * checks for protocol bytes; * checks for malloc/calloc; * be more strict when interacting with sound plugin