Handle the case of multiple headers when constructing root url (#7938)
* handle the case of multiple headers
* lint
* add changeset
* Update gradio/route_utils.py
* add changeset
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>