Enable parsing the uri path portion of an endpoint string without using oc_string_to_endpoint
Enable getting just the uri path portion of an endpoint from an endpoint string.
This is useful for a few reasons.
The introspection contains an endpoint string to the introspection data. Since we typically already have the endpoint there is no need to used the oc_string_to_endpoint function and allocate another copy of the endpoint when we are only interested in the path part of the string.
Language bindings with Java. Functions that return multiple values through variables require unusual workarounds to get a clean Java API. By making this available in a separate function we can make two functions with only one responsibility. Making the Java APIs cleaner.