TCP Client exmple with socket