Convert ext/session to HNI

Part of #1480