Expose the type member of struct ssl_st.
Valid values are SSL_ST_CONNECT for client socket, SSL_ST_ACCEPT for
server socket.