Merge pull request #4 from taberrr/master

fixed issue #3 and some other tweaks
Fix #3 and extended protocol
Update README.md
Update README.md