Updated visibility from private to protected
Added extra option to configure HTTP authentication
Removed reference to return an array of HTTP headers