backport of fastrouter buffering
Fix fastrouter compilation

After 6a8f18a9bbd331b834b229d61cb3385b23413912

Fix #801
completed backporting of fastrouter post buffering