rename parse_param_seg to parse_url_encoded_seg and apply it to cookie