http: fix many problems with url parsing and auth. added proxy test.
problems fixed:
- https scheme handled properly for real and proxy urls.
- url of form "http://user:password@host:port/path" now ok.
- no-proxy check uses proper host names.
(the addremove command is deprecated; use add and remove --after instead)
adding dir/bar
adding foo
dir/bar
foo
(the addremove command is deprecated; use add and remove --after instead)
adding dir/bar_2
adding foo_2
dir/bar_2
foo_2