Add support for using custom certificates when fetching npm packages