Allocate ebuf on heap rather than on the stack to prevent CentOS stack overflow - closes #76