Detect the scheme name used

Officially it should be 'Digest', but in practice it can be something like
'X-Digest' or 'JDigest'.