rafthttp: limit the data size read from connection each time