Makes it possible to disable UDC through System property.

This change also makes UDC not fail if an invalid configuration
value is given, instead it interperts it as the default value.