defining two flags: rev-proxy and tls.