server: do not emit .ondata() in plain+legacy mode
1.7.6