add isHttps() method to Request object