Add challenged authentication support.
Add challenged authentication and additional headers support.