A HTTP middleware stack