add proxy_skip parameter to connect to some hosts directly
use ruby URI module to parse source origin

Fixes pinning when the repo location includes credentials.