implemented openssl client support