SSL_get_stream_type
SSL_get_stream_type(stream));
if (SSL_get_stream_type(stream) == SSL_STREAM_TYPE_BIDI) {
__owur int SSL_get_stream_type(SSL *s);