HBASE-9959 Remove some array copy - server side

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.96@1543435 13f79535-47bb-0310-9956-ffa450edef68
HBASE-5945 Reduce buffer copies in IPC server response path

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