support comparing relative uris

Passing in the UriKind enum will stop an unhandled UriFormatException getting thrown if the Uri is relative since the Uri ctor assumes UriKind.Absolute.