Added per-host logs, enabled X-Forwarded-For and X-Real-IP