Update proxy_examples.rst

Code sample modified to reflect the actual usage