Adding https support for reporting