Added in code to decode double percents for referer and useragent