explicitly check if https is set
rm remaining $_POST