base_service: reset sessions if clearSessions requested
client/resolving: prepare to support stateless flag for resolving client