wm: support proxy and proxy auth