Fixed an issue in "rest-proxy" sample