Instead of
ProxyCommand ssh -T host1 'nc %h %p'
you can use ProxyCommand ssh -W %h:%p host1
which uses ssh itself and therefor also works on machines where netcat isn't installed.