Made the tcp clients less terrible
Fixed tcp leaks and similar root path names