clean up conf file (client mode); default debug=3