formquery on postdata replaced with urlencode, encode_dict added to sup