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