Fix exception when NEXT > 8192 bytes
Merge branch 'stable' into maint/1.0
Bump to 1.0.4-SNAPSHOT
Drop -SNAPSHOT for release
Merge branch 'release/1.0.4' into stable