Control client media application using Server Sent Events