Add an option to trigger bufferevent callbacks