BIO_dup_state
if (!BIO_dup_state(bio, (char *)new_bio)) {
if (!BIO_dup_state(s->rbio,(char *)&ret->rbio))
if (!BIO_dup_state(s->wbio,(char *)&ret->wbio))