Add support for TLS/HTTPS and multiple interfaces in config file