Added compatibility for chartbeat https.