This is one of those no-brainer features that really should ship by default with any machine.
As it happens, there are GUIs that kinda do this, though not intentionally. Charles Proxy comes close, though the interface was a bit rough the last time I used it (2016).