CRAS: rclient - Own buffer to message conversion

Make rclient handle the conversion of a raw client buffer to a client
message. Moving this in to rclient allows it to be tested more easily.

In particular a new fuzz tester will replace cras_server and throw
random data at cras_rclient's interface.

Change-Id: I399c339b2cb308875f093eba390a9520c518276a
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/679818
3 files changed