Respond with 404 when requested file is not shared

We will just close the connection if the requested file is not among the
shared files. This is not really good behaviour. We should respons with a
proper status code such as 404 which tells the client that the requested
resource could not be found.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>