Partially implemented /proxy.

Success condition tested.
Sample modified.
Endpoint /proxy now works for both success and failure cases.