fix session purging
refactor login
case-insensitive commands
new commands FEAT, TYPE, CDUP, MKD, RMD, MDTM, SIZE