MOBSDK-727 & MOBSDK-722

Fix session handshake process for future 5.0 servers.

Also updated version number.