cc::input: Reduce duplicate code
cc::input: Reduce duplicate code

* Rename `read_from_escaped_uri' function
* Introduce `determine_input' function

Signed-off-by: Toni Gundogdu <eac2284b3c43676907b96f08de9d3d52d5df0361@gmail.com>

legatvs/cclive,legatvs/cclive,legatvs/cclive