Added keep-alive support in SSH.