Emit "encapsulated" server-side events

Change-Id: I9580f06f699eee91450645a20d250f68a65314ee