Provide '--' message for empty messages

Provide fallback html2text mechanism if PHP xml extension is not available