This looks like crutches. Fix `Request.getAgent` to return `false` when `Request#options.agent === false` – it'd be enough.