Migrated session layer out to gourd