Add host status plugin

- Create WebSocket and get host state changes from server
- Changed webpack devServer to https to allow for
  secure WebSocket creation (wss)
- Updates to AppHeader to visually indicate changes
  in host state
- Cleaned up api.js file
- Check if user is logged in when creating WebSocket
- Adds check if user is already authenticated so WebSocket
  is created when browser refreshed.
- Add appliation header styles
- Add sass loader config changes to allow sass variables to
  be used in single file components

URL must use https protocol when running locally or the page
will not load.

Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I35e89bdc09e1aa35a6215ef952409a8ed16dd9e1
diff --git a/vue.config.js b/vue.config.js
index 9e1e1e1..429b273 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,11 +1,24 @@
 const CompressionPlugin = require('compression-webpack-plugin');
 
 module.exports = {
+  css: {
+    loaderOptions: {
+      scss: {
+        prependData: `
+          @import "@/assets/styles/_obmc-custom.scss";
+        `
+      }
+    }
+  },
   devServer: {
+    https: true,
     proxy: {
       '/': {
         target: process.env.BASE_URL,
         onProxyRes: proxyRes => {
+          // This header is igorned in the browser so removing
+          // it so we don't see warnings in the browser console
+          delete proxyRes.headers['strict-transport-security'];
           if (proxyRes.headers['set-cookie']) {
             // Need to remove 'Secure' flag on set-cookie value so browser
             // can create cookie for local development