fix bug: inner proto error check[encoder.js line:66]
Merge pull request #2 from palmtoy/master

fix bug: inner proto error check[encoder.js line:66]