Cloudflare does have a feature that just proxies on the TCP level. They call it Cloudflare Spectrum and it’s an enterprise only feature - not designed for the average customer.
For the discovery server Audrius is right, the discovers server needs the real client’s IP address (and port). Cloudflare probably exposes at least the IP in some HTTP header that you can use.