Text this: The design of an electro-optic control interface for photonic packet switching applications with contention resolution capabilities