session: fixed compilation with the latest elliptics client