[NRY] adding http agent

Nevermind, I see that this was copied from the joyent/node repo... Sucks to be them.