Initial implementation of URI parsing--no tests