Add quotes around paths so that this doesn't choke on win32.
Add code to support using ssh -L when -W is utterly broken.