Update index.php

added a second destination
Update RestProxy.php

bugfix for using multiple destinations
Merge pull request #2 from thomasX/master

please merge