HTTP client: Fix cleanup of TLS BIO via 'bio_update_fn' callback function