Proxy function instead of fixed url.
Reinstate proxyUrl and enhance proxy to detect function
Merge pull request #46 from coolhandmook/master

Proxy function instead of fixed url