Add an example of how to use a custom middleware

This adds an example of how to use a custom middleware to share session data between Express and Primus.