Fix the error when receiving status message from server.
Merge pull request #1 from amit/master

Fix the error when receiving status message from server.