Fixed retrieving data via https