I added the function `tls_set_connect_server_id(srvid)` in tls module trying to cover this kind of need to specify the server id for next tls connect in the event_route[tm:local-request], where you can set its value from the dispatcher route attributes.
Testing and feedback would be appreciated. I am closing this issue, in case of a problems, open a new one reporting what happens.