Update HTTPClient.java

Parameter names did not match the names used inside the methods. Changed and tested locally.