Allocate receive buffers in on the fly
Merge pull request #4381

806fd19 Allocate receive buffers in on the fly (Pieter Wuille)