Adds domain support to TLS backend.