support event context stacking

Reviewers: @rocha, @jtauber