Fixed bug with messages lacking a length value.