Allowing multiple user connections.

Some variables were scoped to the module instead of the instance of the
respective middleware.
Merge branch 'feature/multiconnections'
Bumped files to v0.3.8.