updated for HTTP stats by using SOA