bug fix for sending messages with unencoded xml entites