XOP-229: Stunnel_cache fixes.

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