scctl: factorized code in main and server routine
Authored by: Jean-Francois Dockes 2017-06-14
Parent(s): [4e145a]
Child(ren): [b4d517]