added --basic option for http basic auth