ldp: add option to eanble transparent TLS connections