ssh tunnels, windows support, simplify ssh proxying

Change-Id: Ib8646519fb9776db6667206269ae208c63a86a77