tcp networking..._working_ but need better threadsafe packet design