Used version 2.0.1 of httpagent.