add digest support

Hi - project I'm working on required digest auth . Maybe you would like to pull this in. 

Regards.