CRED: Wrap task credential accesses in the networking subsystem