initially added proxy-implementation taken from p3-proxy