copy bytebuffers forlocal writes toavoid retainingthe entire Thrift frame patch by tjake; reviewed by jbellis for CASSANDRA-1801