improve the loading of the default certificates

* see https://github.com/joyent/node/commit/a12870c823b9b67110b27a470fcac342cf1dfbd6
Merge pull request #467 from luvit/fixes/certs

improve the loading of the default certificates