[JENKINS-20074] Jenkins 1.537 or later should make Stapler.isSocketException public.