added support for $CFG_SOCKETS and $CFG_THREADING for server string