agent: Return problems for CockpitTextStream open failures

For the cases where the socket file is not found, return "not-found"
and when permission denied, return "not-authorized".