added fbuf_detach() to the API

to allow detaching an internal buffer from the fbuf