@julienschmidt I understood what you mean.

It's doing payload = append(nil, data) for common cases. (I thought golang will do payload=data for append(nil...) but obviously not.)

We can still disable the buffer copying for common case by doing what @arnehormann suggested.