always try for https if a client gets an http url

try to fix test