Moved JAgoraLib over from JAgoraServer, added login/logout comms.