Added ability to double decode an HTTP referer and agent.