Add documentation for the BIO_s_mem pecularities