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