This is entirely L7 operation. And ROS can not rewrite L7 information. With encrypted traffic (httpS) ROS even doesn’t see this information, let alone can it manipulate encrypted information.
A decent proxy server (browsers would have to be configured to use one) could rewrite this information … but again only for unencrypted connections.