added struct for URI representation

Advanced helper structure to URI representation, easy to parse/modify/construct URI strings.
I haven't checked the other import, but it looks like this one is only used in defaultPort, hence it should be a local and selective import.