rename buffer to payload

the name of the payload, 'buffer', was very confusing.
I renamed it to 'payload' which is meaningful.

BTW, I removed the export of the symbol. It is not very important since
there is only one source file but there was no need to export it.