moved revised startserver() function to confutils.c