SSL certificate verification for node.js