Http Digest Authentication

#4220 Http Digest Authentication

As discussed i am creating PR for 1-3 points. 

Please check and revert.

regards
Mithun Mandal
Need phpdoc for it.