Base URL feature

See for an explanation of the feature (and the use case for it) in issue #215

I, on purpose, implemented the feature separately from the curl shorthand syntax.
The only thing missing in the Pull Request is tests.