function getHttpIps(response, request) {
  const ips = [Buffer.from(response.getRemoteAddressAsText()).toString()];

  const forwardHeader = request.getHeader("x-forwarded-for");

  if (forwardHeader && forwardHeader.length > 0) {
    for (const header of forwardHeader.split(",")) {
      const trimmed = header.trim();

      if (trimmed.length > 0) {
        ips.push(trimmed);
      }
    }
  }

  return ips;
}
Returns the list of IP addresses

@param {uWS.HttpResponse} response
@param {uWS.HttpRequest} request
@return {Array.<string>}