Fix buffer limits on remote commands
Merge pull request #136 from vladikoff/maxBuffer

Fix buffer limits on remote commands