Updated methods for constructing service urls in discovery responses. Closes #7