mitmproxy: update to 0.10.1 and also some of its dependencies

Closes #29096.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>