Avoid multiple split in read method of NIO server