digest method realm autodetection added

digest method realm autodetection added
Merge pull request #2 from cccaballero/master

digest method realm autodetection added