added support for specifying quantile and confidence in the request