improve the loading of the default certificates

* see https://github.com/joyent/node/commit/a12870c823b9b67110b27a470fcac342cf1dfbd6