Currently does not consider whether domain of the data supports https
Maybe change like this: Kwf_Util_Https::supportsHttps($this->getDomain())