SSL connection prototype