Set host accordingly to the configuration
Add the protocol to the base uri
Merge pull request #49 from daisy/issue_377

Close #49