Fixes the RUSTSEC-2024-0399 issue with rustls and the errors in the regression test See: https://rustsec.org/advisories/RUSTSEC-2024-0399.html https://github.com/rustls/rustls/issues/2227 This also fixes the cargo deny runs which are currently failing * [x] I have followed the instructions in the PR template