Escape transport proxy stderr output lines

Use escaped() for every line of transport proxy stderr output that
we log.

This is for #9957.