Added .netrc file support as described in issue #34

Hi

Please review this implementation of netrc credentials support as was  described in issue #34.
I've tested this on my mac, works fine.

Would be glad if this helps.