static getRawPackets (req, res) {
    ArkimeUtil.noCache(req, res, 'application/vnd.tcpdump.pcap');

    SessionAPIs.processSessionIdAndDecode(req.params.id, 10000, (err, session, results) => {
      if (err) {
        return res.send('Error');
      }

      for (let i = (req.query.type !== 'dst' ? 0 : 1); i < results.length; i += 2) {
        res.write(results[i].data);
      }

      res.end();
    });
  }
GET - /api/session/raw/:nodeName/:id

Retrieve raw packets for a session given the session id and node name.
@name /session/raw/:nodeName/:id
@param {string} type=src - Whether to retrieve the src (source) or dst (desintation) raw packets. Defaults to src.
@returns {string} The source or destination packet text.