Correctly handle empty relative URIs
Update the spider to better handle relative paths