Great feedback.. what I ultimately want to do is to implement the following solution suggested by @tburtchell. (details below)
When @tburtchell suggested this.. I had no idea of what to do.. so I just started with the basics..
After having worked through this.. I felt I was ready to give it a go.. but got quite stuck with how to implement a Golang reverse proxy.. as I had not even created a Goloang ssl server.. but now that I have done this.. I realised that you don't need the ssl part.. because that is what Ziti does for you..
So.. I am now faced with placing the final piece of the jig saw puzzle.. and trying to make it fit..
It is very likely that I am doing something completely wrong.
in the example where I took the original code from.. I just remembered that you needed to pass in a payload to configure the service.. maybe I did not remove all of that code .. and maybe that is what is causing the problem
Let me know if you have any further suggestions / tips / comments.