add an EventSource parser
test_relay: use EventSource parser instead of ad-hoc thing