A stream socket client demo