add client connect and socket send