I tried out this patch and it doesn't appear like it works as intended. It has the correct host name, but not the substituted port.
I can also see in the SliderAM log:
Preparing to publish. Key tomcat.http_port and Value hw10447.local:58138
But I don't see this actually getting exported. I will try to look into this some more to figure out what is possible.