CRAS: client - Try to reconnect to server.
CRAS: client - Try to reconnect to server.

If a read or write to the server fails, attempt to reattach.  Set
inputs to poll in the main loop of the client thread as the file
descriptors can change if there is an error/reattach event.

BUG=chrome-os-partner:9383
TEST=run cras_test_client, and chrome, "restart cras" while running
and make sure control isn't interrupted.

Change-Id: I01c756beb22bdbcf48db449429edcb6a1b6847c8
Signed-off-by: Dylan Reid <c791bfe44996c1eed9c7149a0c5f12a86d58eb85@chromium.org>

drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd,drinkcat/adhd