Using Zero-Copy API to read.

1.Use ByteBuf based API to read.
2.Add a ByteBufferInputStream and make Chunk consume ByteBuffer directly.
It looks like we could factor out some of this.