Fix for secure boolean inside matchSecure method of UrlFnService

Change-Id: I6e7053a62f5c0d6681e4e7c8eb995c6e8aae0c99
diff --git a/web/gui2-fw-lib/lib/remote/urlfn.service.ts b/web/gui2-fw-lib/lib/remote/urlfn.service.ts
index a7576c0..0aa14af 100644
--- a/web/gui2-fw-lib/lib/remote/urlfn.service.ts
+++ b/web/gui2-fw-lib/lib/remote/urlfn.service.ts
@@ -36,7 +36,7 @@
 
     matchSecure(protocol: string): string {
         const p: string = this.w.location.protocol;
-        const secure: boolean = (p === 'https' || p === 'wss');
+        const secure: boolean = (p.includes('https') || p.includes('wss'));
         return secure ? protocol + 's' : protocol;
     }