Initial commit of previous tcp version, will write a full working tcp server then write new network proxy layers