Optimized server code a bit.

Made the READ/WRITE payload an opaque buffer for variable length
experiments.