Document and export alloc_request(), notify_filled().

* add alloc_req field to IOBuffer, indicating the size of a reqest
* disable writing while a request is in progress