simple openssl bio filters and threading