spumko/hapi — pull request #1551 by nlf (2014-04-03 17:56:49+00:00)
Title: add an insecureAgent when maxSockets is set, closes #1512

Turns out the issue is if you pass an agent to `https.request` it ignore the `rejectUnauthorized` setting, so you need an agent that has `rejectUnauthorized` set.