Fix error "attempt to use Deflater after calling end" when serializing an object in android
Merge pull request #6 from barbelith/fix-deflater-exception

Fix error "attempt to use Deflater after calling end" when serializing an object in android 4.4.2