DG: Added TLS support for proxy. CLI parsing / config file.