Due to the imminent removal of DataBufferUtils.split, this commit copies over the buffering split algortihm from DataBufferUtils, as it is still sutable for the StringDecoder
Due to the imminent removal of DataBufferUtils.split, this commit copies over the buffering split algortihm from DataBufferUtils, as it is still sutable for the StringDecoder