mitmproxy: add options

Closes #22870.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>