Added some methods to the header utlity to retrieve headers.
Implemented basic authentication methods.