New method to check whether request was over HTTPS