refactored threaded server - name is now in config file.
added sock server/threaded server teardown functions.