Update proxy_examples.rst

Code sample modified to reflect the actual usage
bug #3473 Update proxy_examples.rst (AZielinski)

This PR was submitted for the 2.4 branch but it was merged into the 2.3 branch instead (closes #3473).

Discussion
----------

Update proxy_examples.rst

Code sample modified to reflect the actual usage

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?    | no
| Applies to     | 2.1+
| Fixed tickets | none

Commits
-------

44498f2 Update proxy_examples.rst