Update class.AJXP_Utils.php

$protocol always equals 'https' because $_SERVER['HTTPS'] !== 'off' always evaluates to true even if the server doesn't use SSL, which causes shared links to always be https.