Correct Content-Length for 404 not found.
Add trailing slash to host-only URLs.
Make executable.