Reset base URI on parse start

Fixes #440