digest-auth implemantation for haskell.