HBASE-10355 Failover RPC's from client using region replicas

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1575261 13f79535-47bb-0310-9956-ffa450edef68
HBASE-10637 rpcClient: Setup the iostreams when writing

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1575395 13f79535-47bb-0310-9956-ffa450edef68