Give a warning when bufferevents are enabled.

Ticket 9147.
Merge branch 'bug9147' into maint-0.2.4