Bug fix: SSL_free free BIO too.