Text this: Energy-Aware Edge Infrastructure Traffic Management Using Programmable Data Planes in 5G and Beyond