Set the cookie domain when checking for SSL connection