Bug #6958 Make sure encoding type is set when sending Request

Call Http\Client::setMethod() so Encoding Type is set.