Normalize empty URI parts to `null`. Fixes #103.