Rename delayed_buffer to buffer and adapt passive_buffer implementation to share code. Fixes #116.