[http] Add support for HTTP Basic authentication