A newer version of the Gradio SDK is available: 6.5.0
6.5.0
req.socket
req.connection
X-Forwarded-For