Fix a bug that caused a crash if a websocket server sent a empty string.
Merge pull request #32 from jnordberg/master

Fix a bug that caused a crash if a websocket server sent a empty string.