add proxy support, see #86
manual test for proxies