Allow agent to be set on proxy options and passed into Nipple. #1863
The test is just asserting that when an agent is set on the options argument to proxy the subsequent call to Nipple.request contains the same object on the agent property of its options argument.
If I remove the change at lines 29-32 in lib/proxy.js the test fails like I would expect.
Doc is updated.
One extra thing, the test just before the one i added has the same pattern (modifying Nipple.request to do an assertion). I made the same changes as i did to my test, adding the