Dump errors to the log instead of the client
Use express.Router for hosts instead of another express instance