siproxd: add shell helper function to build config file