simple proxy-based client