Are you able to use the Identity Manager to manage access (and tokens) to your secure services?
Sorry, I don't think I was clear. We have a class in the API that we recommend you use to manage communication with secure services called the Identity Manager. Instead of using the proxy directly, can you try using the Identity Manager?