adjust request URI for transparent proxy case