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