renamed html_encode to url_encode
user agent for http forms