switch to std size_t type
start parsing URI