Https connection and base64 test