added struct for URI representation

Advanced helper structure to URI representation, easy to parse/modify/construct URI strings.
I think you can get rid of  the static if and just getServiceByName on default.

Also, std.typecons.scoped might be a better choice over new.