Add ability to get all input and output for a session.

Fixes #12