Updated me.buf to prefer me.buffer_size (a configurable value from param) if it exists, rather than the hard-coded default buffer size of 65535.