Update build_url utility method to default base_url to None and set it t...

...o config value in body for None case instead of defaulting the parameter.  Update associated tests.
What happens if the hostname starts with https?