Client in python for socket connect