fix adding parameters to url to non-GET HTTP methods

trying $I->sendPOST with non-empty parameters found that the requested url includes the parameters as if it were GET request.