support .netrc as alternate provider for http credentials
(backward compatibility)
Merge pull request #29 from jenkinsci/netrc

support .netrc as alternate provider for http credentials