HTTPRequest: fixed variable name

Fixed a variable name that caused HTTP Referer header never set.