XOP-229: Stunnel_cache fixes.