xfreerdp: fix xfi lifecycle and other crashers
Merge pull request #1196 from mfleisz/master

iOS: Fixed possible crash on disconnect
Merge pull request #1193 from zeha/fix-xfreerdp-crashes

xfreerdp: fix xfi lifecycle and other crashers
Android: Fixed possible crash with a session being null