the switch of bufferevents for http connections did not handle the EVBUFFER_ERROR case correctly svn:r971