support secure cookies.