Setting up env config to determine is socket io should run in secure mode
Solving https on/off config