Use the optimal ByteBufAllocator depending on the transport implementation