Add support for curl/netrc