Force request.secure to return boolean