Fix Command Prompt Proxy Error Sync Issues - Resolve 502 Bad Gateway in PowerShell via TLS Settings-How to Fix Windows Defender Network Error 0x80070422

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.