Validation for LDpair and LDproxy.