Fixing race cases with Disconnect and fixing nativeRelease so it returns in all cases
Adding roster back for default build
PingTimeout now causes disconnect, onsocketclose causes disconnect if it's independent of logout, and lock around disconnect to avoid race case from multiple events calling disconnect at the same time
Adding a ping() so we can ping outside of the regular loop, i.e. on a long running connection when I place a call, ping immediately. Also added a timeout to login of 10 seconds