Add https support

I've added a configuration file option to enable management in https mode.