add sample crypt client, fix socketup for openssl