[PATCH v3 04/11] tcp: move buffers management functions to their own file