Fix a crash bug when a zero length message is received
Merge pull request #165 from shiwano/fix-zero-length-message-error

Fix a crash bug when a zero length message is received