`createServer()` should accept middleware.

`createServer` used to accept middleware, to be mounted at `/`. In fact, a lot of the included examples try to use this functionality, but are right now broken.