add initial implementation of proxy-based rest client