Debugging.
More debugging.
I guess I was wrong about evbuffer_readln().
More debugging.
OK, try this.
evbuffer_readln should be better-documented.
I think this will do it.
Debugging.
OK, try it with evbuffer_remove now.
Add hexdump, add flush.
Apparently, this happens too, sometimes.
OK, bufferevent stuff only now.
Make hexdumps more manageable.
Try BEV_FLUSH