Make config easier, change default to 1024Kb

Also, make send/receive buffers scale with max-message-size.