Fixed problem where all http requests were logged as 404s