SplunkStorm/hydra — pull request #10 by MatthaeusHarris (2014-10-29 23:11:47+00:00)
Title: AMI-545 proxy error handling

PLEASEREVIEW @donemiliano @edsplunk

In some cases, res.json would still crash, as res.json sends http headers that specify content type. If this is the case, the request is already pretty fucked, so just log the error and try not to die.