asynchronous-synchronous examples for openssl