redirect: improve https detection
bump 1.6.7