new, xml-safe implementation

html entities are now numeric, new encodeMulticall() method.