buffer headers so they aren't in extra write() from the body