Don't attempt to duplicate the BIO state in SSL_dup