agent.addRequest parameters have changed

Similar to 12cd13312b1b in node.js
Merge pull request #6 from gramakri/master

agent.addRequest parameters have changed