Control-socket must hold uid/gid variables rather than strings.

To achieve this, we move control-socket to a template using the strings.