Fix error where commands that sent empty responses would fail.
Merge pull request #9 from DrMarcII/master

Fix error where commands that sent empty responses would fail.