Move UriComponents.getNonEmptyPath to AsyncHttpProviderUtils