working client TCP w/encryption