Ensure length of packet body is what was expected.