* HTTP server middleware implementation and test. * Address review comments. * Address review comments.