Added support of reset session. Not tested yet
Authored by: artyom-beilis 2010-10-28
Parent: [r1493]
Child: [r1495]