to_kv_string, post_encode, beginnings of rfc_1738_encode