Handle 404 redirects to index.html for HTML requests

Closes #205