use the mutex'd curl functions properly in readCredentials
Merge pull request #15 from franc-carter/iam-role

Iam role
Merge branch 'master' into memory-fix