Fix set proxy to look for first endpoint in the manifest.

[merge]