introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents svn:r737