Fix escaping of quotes in HTML attributes + fix handling of string[] attributes.
Make download() use the scoped version of requestHttp().