Making HTTP requests in Node.JS without any dependencies using Promise