#23 Began more changes to interceptor framework.
#27 Some changes to implement new Session architecture.

These changes are broken, don't even compile. I wanted to commit them
before I made too many irreversible changes.