Construct base URLs from compound host and port settings