Fix type breakage in httpclient 1.1 (guess it should be 2.0)