update "/rest" to "/rest/" to check for infourl
update "/rest" to "/rest/" to check for infourl

this update to prevent error in getting the infourl if the request host name include "/rest", like "http://reston.example.com"
TheMushrr00m/resource-proxy,Ricardh522/resource-proxy,Esri/resource-proxy,jontwo/resource-proxy,bsvensson/resource-proxy,jontwo/resource-proxy,NoashX/resource-proxy,Ricardh522/resource-proxy,TheMushrr00m/resource-proxy,guo7711/resource-proxy,bsvensson/resource-proxy,guo7711/resource-proxy,phpmaps/resource-proxy,Esri/resource-proxy,NoashX/resource-proxy,phpmaps/resource-proxy,enjine/resource-proxy