redirect to secure url on domains that require secure submissions

also cache the lookup of whether a domain requires secure submissions
for 10 seconds.