a rich flash message middleware for connect.