This change automates the setup of the device's global HTTP proxy to route traffic through the mitmproxy container.
Key changes:
- Detect if the target is an emulator or a physical device.
- For emulators, the proxy is set to the host loopback address (10.0.2.2).
- For physical devices, the script now attempts to automatically determine the host's local IP address (`en0`/`en1`).
- The device's global proxy settings are configured via `adb`.
- Instructions are updated to reflect the automated setup and include the command to clear the proxy settings.