Move HTTP server routes to module context.
Add basic HTTP tests.