Set up client and common proxy