Added parameter and http.agent support