Would be better do pass in the ByteBufAllocator and use it for allocate new buffer