update BTreeMap's Entry functions to match RFC 509