Connect middleware that adds a unique id to each request.