widen scope of ssh connection sharing, to enable yubikey sessions which span multiprocessng and threaded applications

see RP ticket #164