Added the Session layer and tests.

Change-Id: Ibaae8578b78425d598c582e11916043457539a0f
Signed-off-by: dekehn <dekehn@gmail.com>