adding a redirect if the user attempts to use the couchapp in a non https url, to take them to the https url