Text this: A Flexible Approach for Smart Management of Transmissions in Power Line Communications