JENKINS-14575: Throw IOException only on specific SSH problems

Don't want to convert _every_ GitException to an IOException, only those
that are IO problems. This is perhaps too narrow -- there are other
possible IO problems -- but it's a start and can be extended as new
cases are found.