Code a value into a string on canonical form.
Takes a value and converts it to a string on canonical form, much like
encode_value() . The canonical form means that if an identical value is
encoded, it will produce exactly the same string again, even if it's
done at a later time and/or in another Pike process. The produced
string is compatible with decode_value() .