Fix issue #159
Merge pull request #161 from willyaranda/issue/159

Fix issue #159 (allow id with 0 value) and limit the ID payload size to avoid use the id field to sent data.