support encode Long instance
Merge pull request #24 from node-modules/support-Long

support encode Long instance