Make http drain buffer framing an external fun.