Fix chunked encoding

Actually add the data buffer to the chunk
Allow chunkSize to be passed into function
Bump version