Implementation of socache caching.
Implementation of socache caching.

Copied from example code of dbd and dbm socache implementations
If PAM-Authentification is successful (AUTH_GRANTED), do apache-style salted bcrypt hash and store it in socache.

adelton/mod_authnz_pam,adelton/mod_authnz_pam