Expose the url expansion code as a method, refactored a bit, and support passing falsy values in requestOptions.
1.2.0