old code for image requests:
  /*
  var options = {
    host: 'image-hosting.firepup650.repl.co',
    path: path,
    method: 'GET'
  };
  var request = http.get(options, function(response) {
    res.writeHead(response.statusCode, {
      'Content-Type': response.headers['content-type']
    });
    response.pipe(res);
  }).on("error", function(e) {
    console.log("Got error: " + e.message, e);
  });
  */