Cert: add common helper for event stream on the py side
am: 89430fe73d

Change-Id: I4c0ce2ced3c292c316ee25f35e0d25fdfd972aed