Text this: Equilibrium and Optimization in a Double-Ended Queueing System with Dynamic Control