Copied tcp server modules from other project - in proccess of repurposing