Added support of basic authentification using external base64 encoder
this should be set with http_set_base64_encoder before call
http_set_basic_auth.