session-manager: remove thrift dependency