Optimize and fix REST requests
Optimize and fix REST requests

Was receiving:

    (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.

And noticed that the rest client was being rebuilt on every request.
This fix will create the rest client once.
Significantly sped up whole process.
haydenbleasel/favicons,haydenbleasel/favicons,evilebottnawi/favicons