Revised read/write.
Exception handling for client.cc
Add inline to avoid multiple definition.
get<>() for tuple.