rendering canvas on node.js - fixed issue with segfault occuring when downloading an image that comes from https (secure) url