Added preemtive authentication support for http4 component

Could be enabled with "preemptiveAuth=true" option on the http4 component.