more compatibility with node.js request library: uri argument for constructor