Update HttpRequest to support setParameter.