Hi, How can I check whether a request is http or https?