This proposal defines a procedure to look up _tls SRV records in addition to _tcp and mix weights/priorities.
Rendered version can be found at https://burtrum.org/xeps/tls-srv.html This discussion was already started on a github pull request here: https://github.com/xsf/xeps/pull/116 but was requested to be brought up on this list. I do have a POC implementation written up for Conversations here: https://github.com/siacs/Conversations/pull/1371