Fix Microsoft Store Proxy Error: Cannot Connect - Troubleshooting Command Prompt Error Code 5-Resolve 502 Bad Gateway Using Command Line Tools

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