Secure client with base64 encode