Fix issue with whitespace not being handled by the client.
Merge pull request #5 from Tzeentchful/master

Fix issue with whitespace not being handled by the client.