only set request agent if explicitly specified

this fixes a regression in node v0.11 where agents specified as
undefined result in a `Cannot read property 'defaultPort' of undefined`
error.
1.1.4