refactor

resolve URIs on upstream
change .remoteURI to .remote
rename /remotes.json to /proxy.json
fix spdy push