common lib for trafficserver plugin