Fixed a HTTPCLient bug