1.2 - do not quote "mark" characters according to URI spec 1.1 - add xml_[un]escape