Add base url support

Following #51 , this PR adds base url support to HTTP adapters.