Minimal middleware stack for the browser