Fix #5 (encode html entities before displaying in chat)