Add option to set the host name portion of constructed URLs.