adding socket TCP + examples to how to use it