Simplify clio_route a bit, using memstream.

This will be a theme.