Version that implements correctly sync protocol. FIXME: use upc_memget for non-local string accesses AND generalize string concatenation so that it supports contigs larger than MAX_CONTIG length