Fixed WebSockets bug with zero-length messages

The WebSocket class broke when it received a zero-length message, which
is what the _changes feed sends when it's caught up.
Fixes #272