Fix unhandled exception if urlOptions isn't defined
Merge pull request #77 from theodorejb/fix-exception-if-urlOptions-is-undefined

Fix unhandled exception if urlOptions isn't defined