nulls are encoded as 4 bytes, not eight

confirmed by looking at the output of the java client
Merge pull request #16 from layerhq/develop

Nulls are encoded on 4, not 8 bytes