XOP-229: Stunnel_cache fixes.

CLEARWATER

1 - Stunnel_cache caches alive connections.
2 - Stunnel_cache differentiates certified and non-certified connections.