fixes #15, handle the case where instead of an options hash, just a url is passed in (http.get / https.get)