Fixed improper parsing of zero-length messages

The code was scheduling a read of zero bytes, which isn't legal.
This broke the state machine and caused the WebSocket to stop reading
anything forever...
Fixes couchbase/couchbase-lite-ios#272