[#6668] avoid ssl redirect for taskd requests, log if it happens