HBASE-11547 Backport HBASE-11052 to 0.96 'Sending random data crashes thrift service' (Adrian)