HTTPS Server definition into main.js file