Merge pull request #77 from eustas/limitVarInt

Limit length of varint in decodedLen