index: use "proxy-agent"

Simplifies the code-base here by quite a lot :)