correct spelling mistakes to make me look less dumb
track number of chunks in chunked response

update java sample to use version 1.0 of the plugin
fixes #7 and resolves #6