bufferevent flags tweak