Added ability to estimate kernel's actual max dgram buffer size in a portable way.