TS-2677: Rewrite domain:port for CONNECT requests and remap rules.