Adding mock "tls" module.
Making that if the "main" property in package.json does not exist to search for an index.js file.
Adding env variable to prevent not implemented exceptions if handling .node files.