s4:lib/tls: assert that event contexts are not mixed